/**
 * Description:
 * Class Name:building
 * Date:2022/1/25 17:43
 *
 * @author LTisme
 * @version JAVA17
 */
package 疯狂Java讲义.第5章_面向对象_上.课后练习.第三题的总包.建筑物;

public class building {
    // 每栋建筑都应该有名字、功能
    protected String name;
    protected String function;

    protected building(String name, String function){
        this.name = name;
        this.function = function;
    }
}
